package com.fan.shop.services;

import java.util.List;

import com.fan.shop.domain.Location;

public interface LocationService extends ShopService{

	public Location getLocation(int id);

	public List<Location> getAllLocations();

	public int getSize();

	public void addLocation(Location location);

	public void updateLocation(Location location);

	public void deleteLocation(Location location);

	public boolean hasLocation(int id);
	
	public boolean exists(Location location);
	
	public Location getLocationByValue(String value);
}
